﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace Xpom_Xpum__Integrated_Development_Environment.View
{
    /// <summary>
    /// Interaction logic for FindReplaceWindowView.xaml
    /// </summary>
    public partial class FindReplaceWindowView : Window
    {
        public FindReplaceWindowView()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, RoutedEventArgs e)
        {
            ((App)App.Current).tcvwm.FindCurrent(comboBox1.Text, false,
                (bool)checkBox2.IsChecked, (bool)checkBox5.IsChecked, (bool)checkBox3.IsChecked);
        }

        private void button3_Click(object sender, RoutedEventArgs e)
        {
            ((App)App.Current).tcvwm.FindCurrent(comboBox1.Text, true,
                (bool)checkBox2.IsChecked, (bool)checkBox5.IsChecked, (bool)checkBox3.IsChecked);
        }
    }
}
